package com.gxa.sideParking.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2022-10-05
 */
@Getter
@Setter
@TableName("tb_manager")
@ApiModel(value = "Manager对象", description = "")
public class Manager implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键自增")
      @TableId(value = "manager_id", type = IdType.AUTO)
    private Integer managerId;

    @ApiModelProperty("业务类型")
    private String managerBusiness;

    @ApiModelProperty("支付订单号")
    private String managerOrder;

    @ApiModelProperty("支付方式")
    private String managerMethod;

    @ApiModelProperty("支付类型")
    private String managerType;

    @ApiModelProperty("操作金额")
    private Double managerMoney;

    @ApiModelProperty("操作时间")
//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
//    @JsonSerialize(using = LocalDateTimeSerializer.class)
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //接收前端数据 json转换date
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai") //date转换json
    private String managerDate;


}
